<!-- 文件上传-->
<script type="text/ng-template" id="fileUpload.html">
    <style>
        .modal-content{
            width: 1350px;
            right: 380px;
        }
        .file-input{
            width: 100%;!important;
        }
    </style>
    <div class="modal-header">
        <h3>上传文件</h3>
    </div>
    <div class="modal-body">
        <table width="90%">
            <tr ng-if="info.showDir" style="line-height: 30px;">
                <td>创建目录名:</td>
                <td><input type="text" ng-model="info.dir"></td>
                <td><span>例:输入1.1.1_to_1.1.2,会创建一个1.1.1_to_1.1.2的目录,然后将文件放到该目录下,多级目录用斜杠"/"分开即可</span></td>
            </tr>
            <tr>
                <td>选择上传文件:</td>
                <td colspan="2">
                    <input id="uploadFile" type="file" name="file" class="file file-loading"
                           data-min-file-count="1">
                </td>
            </tr>
        </table>
    </div>
    <div class="modal-footer">
        <button class="btn btn-primary" type="button" ng-click="cancel();">关闭</button>
    </div>
</script>